<template>
  <div class="chat-container navMarginTop">
    <iframe src="http://meta.universetime.com.cn/login" :style="{height: screenHeightBg,width: '100%'}"></iframe>
  </div>
</template>
  
<script>
export default {
  name: 'TopNav',
  mixins: [],
  components: {},
  data() {
    return {
      screenWidth: '',
      screenHeight: '',
      screenHeightBg: '',
    }
  },
 

  watch: {},

  mounted() {
    this.$nextTick(function () {
      this.screenWidth = window.innerWidth
      this.screenHeight = window.innerHeight
      this.screenHeightBg = this.screenHeight - 75 + 'px'
    })
  },
  beforeDestroy() {
    //清除定时器
    clearInterval(this.timer)
    this.timer = null
  },
  methods: {
    //选项卡下标
    btnGO(data){
      this.$router.push({ path: data })
    },
  },
}
</script>
  
  <style lang="less" scoped >
@media screen and (max-width: 767px) {
  
}
</style>
  